﻿#region Using directives

using System;
using System.Collections.Generic;
using System.Text;

#endregion

namespace Weazel.Toad.TextEditor.Document
{
  public class SpanStack : Stack<Span>, ICloneable
  {
    public SpanStack()
    {

    }

    public object Clone()
    {
      SpanStack clone = new SpanStack();
      foreach (Span span in this)
      {
        clone.Push(span);
      }
      return clone;
    }
  }
}
